Module-level declarations

Types

Link copied to clipboard
struct area
Link copied to clipboard
Link copied to clipboard
struct location
Link copied to clipboard
struct size

Functions

Link copied to clipboard
function area_for_locations(locations: set<location>, add_borders: boolean): (from: location, to: location)
Link copied to clipboard
function check_any_negative(results: map<text, boolean>): boolean
Link copied to clipboard
function check_any_positive(results: map<text, boolean>): boolean
Link copied to clipboard
@extendable function check_cells_on_same_height(griddable: instance, cells: list<list<location>>): boolean
Link copied to clipboard
@extendable function check_grid_access(griddable: instance, cells: set<location>)
Link copied to clipboard
@extendable function check_original_placed_on_grid(griddable_id: integer, original_id: byte_array, location: location): map<text, boolean>
Link copied to clipboard
@extendable function check_original_removable(griddable_id: integer, original_id: byte_array, location: location): map<text, boolean>
Link copied to clipboard
function check_ownership(griddable: instance, account_id: byte_array, cells: set<location>): boolean
Link copied to clipboard
@extendable function check_ownership_hook(griddable: instance, account_id: byte_array, cells: set<location>): map<text, boolean>
Link copied to clipboard
@extendable function clear_grid_area(locations: set<location>, plot_id: integer)
Link copied to clipboard
@extendable function get_locations_hook(griddable: instance, account_id: byte_array, cells: set<location>, owned_cells: boolean): list<location>
Link copied to clipboard
function get_non_owned_locations(griddable: instance, account_id: byte_array, cells: set<location>): set<location>
Link copied to clipboard
function get_owned_locations(griddable: instance, account_id: byte_array, cells: set<location>): set<location>
Link copied to clipboard
function is_original_placed_on_the_grid(griddable_id: integer, original_id: byte_array, location: location): boolean
Link copied to clipboard
function is_original_removable(griddable_id: integer, original_id: byte_array, location: location): boolean
Link copied to clipboard
@extendable function on_pickup(griddable_id: integer, location: location)
Link copied to clipboard
@extendable function on_placing(owner_id: byte_array, original_id: byte_array, griddable_id: integer, current_location: location?, new_location: location)
Link copied to clipboard
@extendable function require_occupancy_based_on_locations(griddable: instance, locations: set<location>, optional_params: map<text, byte_array>)
Link copied to clipboard
function require_original_placed_on_grid(griddable_id: integer, original_id: byte_array, location: location)
Link copied to clipboard
function require_original_removable(griddable_id: integer, original_id: byte_array, location: location)
Link copied to clipboard
function require_ownership(griddable_id: integer, griddable: instance, account_id: byte_array, cells: set<location>)
Link copied to clipboard
function rotate(default_locations: list<location>, rotation: grid_rotation): list<location>
Link copied to clipboard
function rotate_east(default_location: location): location
Link copied to clipboard
function rotate_south(default_location: location): location
Link copied to clipboard
function rotate_west(default_location: location): location